package com.uduemc.biso.module.basic.service.customer.service;

import java.util.List;

import org.springframework.data.domain.Pageable;

import com.uduemc.biso.core.extities.center.CustomerUser;

public interface CustomerUserService {

	public CustomerUser insert(CustomerUser customerUser);

	public CustomerUser insertSelective(CustomerUser customerUser);

	public CustomerUser updateById(CustomerUser customerUser);

	public CustomerUser updateByIdSelective(CustomerUser customerUser);

	public CustomerUser findOne(Long id);

	public List<CustomerUser> findAll(Pageable pageable);

	public void deleteById(Long id);

	public CustomerUser findByUsername(String username);

	public CustomerUser findByNumberKey(String numberKey);

	/**
	 * 获取可以用于创建数字账户的字符串
	 * 
	 * @return
	 */
	public String getCreateNumberKey();
}
